package com.doupi.partner.service;

import com.doupi.partner.dal.model.SystemConfig;
import com.doupi.partner.util.Pagination;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface SystemConfigService {
	int deleteByPrimaryKey(String key);

	int insert(SystemConfig record);

	SystemConfig selectByPrimaryKey(String key);

	int updateByPrimaryKeySelective(SystemConfig record);

	int countSystemConfig(SystemConfig systemConfig);

	List<SystemConfig> querySystemConfigs(SystemConfig systemConfig, RowBounds rowBounds);

	SystemConfig selectSystemConfigForUpdateByPrimaryKey(String key);

	Pagination<SystemConfig, SystemConfig> querySystemConfigs(Pagination<SystemConfig, SystemConfig> pagination);

	List<SystemConfig> querySystemConfigsByParentKey(String parentKey);
}
